Hello {{ name }}!
{# outputs $5,500.00 #}
{{ '5500'|price }}

{# outputs $5500,2516 #}
{{ '5500.25155'|price(4, ',', '') }}

{# use the function of twig extension #}
{{ custom_string('test_string') }}